export default {

    // 应用内部全局变量
    appGlobalData: {
        // 组件api配置
        componentsApiConfig: {
            SelectDataStore: {
                // 门店列表 通过ids获取
                storeItemInfo: {
                    url: "admin/store/index",
                    domain: "STORE_MAIN_DOMAIN"
                },
                // 门店列表分页
                storeList: {
                    url: "admin/store/index",
                    domain: "STORE_MAIN_DOMAIN"
                },
            },
            SelectDataGoods: {
                // 商品列表 通过ids获取
                goodsItemInfo: {
                    url: "mall-site-portal/open/api/product/getProductLstByIds",
                    domain: "APP_MAIN_DOMAIN",
                },
                // 商品列表分页
                goodsList: {
                    url: "mall-site-portal/open/api/product/list",
                    domain: "APP_MAIN_DOMAIN",
                },
            },
        },
        selectResourcesImageApiConfig: {
            resourcesImageBox: {
                // 素材配置
                fileConfig: {
                    url: "mall-site-portal/album-info/getFileConfig",
                    domain: "APP_MAIN_DOMAIN"
                },
                // 素材创建
                createSubmit: {
                    url: "mall-site-portal/album-info/create",
                    domain: "APP_MAIN_DOMAIN"
                },
                // 分组列表
                albumList: {
                    url: "mall-site-portal/album/listAll",
                    domain: "APP_MAIN_DOMAIN"
                },
                // 分组添加
                albumAdd: {
                    url: "mall-site-portal/album/create",
                    domain: "APP_MAIN_DOMAIN"
                },
                // 分组删除
                albumDel: {
                    url: "mall-site-portal/album/delete",
                    domain: "APP_MAIN_DOMAIN"
                },
                // 分组编辑
                albumEdit: {
                    url: "mall-site-portal/album/update",
                    domain: "APP_MAIN_DOMAIN"
                },
                // 数据列表
                dataList: {
                    url: "mall-site-portal/album-info/list",
                    domain: "APP_MAIN_DOMAIN"
                },
                // 数据删除
                dataDel: {
                    url: "mall-site-portal/album-info/delete",
                    domain: "APP_MAIN_DOMAIN"
                },
                // 数据修改
                dataEdit: {
                    url: "mall-site-portal/album-info/update",
                    domain: "APP_MAIN_DOMAIN"
                },
                // 数据同步
                dataSync: {
                    url: "mall-site-portal/album-info/materialUpload",
                },
            }
        }
    },
    // 应用菜单宽度
    navWidth: 160,
    // 应用菜单配置
    navList: [
        {
            title: "基础",
            children: [
                {
                    title: "分销概览",
                    path: "/overview",
                },
                {
                    title: "等级设置",
                    path: "/home",
                },
                {
                    title: "分销商品",
                    path: "/goodset",
                },
                {
                    title: "分销商管理",
                    path: "/commodity",
                },
                {
                    title: "待审核分销商",
                    path: "/distributor",
                },
                {
                    title: "订单管理",
                    path: "/order",
                },
                {
                    title: "基础设置",
                    path: "/setting/basics",
                },
                {
                    title: "结算设置",
                    path: "/setting/settle",
                },
                // {
                //     title: "文字设置",
                //     path: "/setting/textsetting",
                // },
                // {
                //     title: "排行设置",
                //     path: "/setting/ranking",
                // }
            ]
        },

    ]

}